/* Copyright 2010 Hugh Greenberg */   

package com.hugegreenbug.msoss;

public class WikiCommonsThumb {
	private String mPageLink;
	private int mWidth;
	private int mHeight;
	private float mRatio;
	
	public WikiCommonsThumb(String pagelink, int width, int height) {
		mPageLink = pagelink;
		mWidth = width;
		mHeight = height;
		mRatio = (float) mWidth / mHeight;
	}
	
	public float getRatio() {
		return mRatio;
	}
	
	public String getPageLink() {
		return mPageLink;
	}
	
	public int getWidth() {
		return mWidth;
	}
	
	public int getHeight() {
		return mHeight;
	}
}
